
<style type="text/css" rel="stylesheet">
    @import url("../templates/profile.css");
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="../project/javascript/profile.js"></script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24410571-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
        <fieldset id="profile">
        <ol>
             <li>
                <label for="name" id="name">{$user}</label>
            </li>
            <li>
                <label for="mail">{$mail}</label>
            </li>
            <li>
                <button id="modify" type="button"
                onclick="showPasswordForm();" >Change password</button>
                <form action="../project/register.php?update={$user}" id="passwordForm" method="POST">
                    
                        <label for="oldPassword">Old password</label>

                        <input type="password" name="oldPassword" id="oldPassword" required
                               autocomplete="off" placeholder="Old password"
                               onchange="testOriginalPassword(this.value);"/>
                        <object id="oldPasswordResponse"></object>

                        <label for="newPassword">New password</label>

                        <input type="password" name="newPassword" id="newPassword" required
                               autocomplete="off" placeholder="New password"
                               onchange="testPassword(this.value);"/>

                        <object id="passVal"></object>
                        <input id="submit" type="submit"
                           value="Submit new password"/>
                    
                </form>
            </li>
            <li>
                <object id="songlist"></object>
            </li>
        </ol>
</fieldset>
